﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Domain.Models;

namespace Tester
{
    /// <summary>
    /// Логика взаимодействия для App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            var windsorContainer = new WindsorContainer();
            windsorContainer.Register(
                Component.For<IRepository<Variant>>().ImplementedBy<BinarySaver<Variant>>());
            windsorContainer.Register(
                Component.For<IRepository<Subject>>().ImplementedBy<BinarySaver<Subject>>());
        }
    }
}
